import { CustomRoute } from '@/interface'
import { customRoutes } from '@/router'

export function useRouteHelper() {
  function addCustomRoute(customRoute: CustomRoute) {
    customRoutes.push(customRoute)
  }
  return { addCustomRoute }
}
